using System;
using System.Collections;
 
namespace eduSrc.Models
{
    [Serializable]
    public class Category
    {
        #region Private Fields

        private int _id = 0;
        private String _moduleCn = String.Empty;
        private int _fatherID = 0;
        private String _categoryName = String.Empty;
        private int _seqID = 0;
        private int _child = 0;
        private DateTime _recordDate = DateTime.Now;

        private IList _childCategory = null;
        private IList _objList = null;

        #endregion 

        #region Properties

        public int ID
		{
            get { return _id; }
            set { _id = value; }
		}

        public String ModuleCn
        {
            set { _moduleCn = value; }
            get { return _moduleCn; }
        }

        public int FatherID
		{
            set { _fatherID = value; }
            get { return _fatherID; }
		}

        public String CategoryName
        {
            set { _categoryName = value; }
            get { return _categoryName; }
        }

        public int SeqID
        {
            set { _seqID = value; }
            get { return _seqID; }
        }

        public int Child
        {
            set { _child = value; }
            get { return _child; }
        }

        public DateTime RecordDate
        {
            set { _recordDate = value; }
            get { return _recordDate; }
        }

        public IList ChildCategory
        {
            set { _childCategory = value; }
            get { return _childCategory; }
        }

        public IList ObjList
        {
            set { _objList = value; }
            get { return _objList; }
        }

        #endregion
    }
}
